<?php
/**
 * @package PHPKit.
 * @author: mawenpei
 * @date: 2016/11/25
 * @time: 17:24
 */
return [
    'host'=>'121.40.203.181',
    'port'=>11300,
    'process_name'=>'jobman:master',
    'workers'=>[
        'demo_worker'=>[
            'worker_num'=>5,
            'class'=>'\\demoWorker'
        ]
    ],
    'crontabs'=>[
        'crontab_second_task'=>[
            'rule'=>'* * * * * *',
            'class'=>'\\demoTask'
        ]
    ],
    'log_path'=>__DIR__ . '/jobman.log',
    'pid_path'=>__DIR__ . '/jobman.pid',
    'daemonize'=>1,
    'reserve_timeout'=>5,
    'execute_timeout'=>60
];